package com.ylr.blog.framework.mapper;

import com.ylr.blog.framework.entity.AuditBlogFlowEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-05-19 20:35:33
 * className: AuditBlogFlowMapper
 * version: 1.0
 * description:
 */
public interface AuditBlogFlowMapper extends BaseMapper<AuditBlogFlowEntity> {

    /**
     * 查询获取最新博客审核流水
     * @param auditBlogId 待审核博客主键
     * @return 博客审核流水对象
     */
    AuditBlogFlowEntity selectLastOne(@Param("auditBlogId") Long auditBlogId);
}
